package com.friday.dao;

import java.util.List;

import com.friday.po.Employee;

public interface EmployeeDao {
	int insertEmployee(Employee emp) throws Exception;
	int deleteEmployeeById(String id) throws Exception;
	int deleteEmployeeByAccount(String account) throws Exception;
	int updateEmployee(Employee emp) throws Exception;
	List<Employee> queryAllEmployee() throws Exception;
	List<Employee> queryEmployeesByDepartmentId(String depId) throws Exception;
	Employee queryEmployeesByAccount(String account) throws Exception;
	Employee queryEmployeeById(String id) throws Exception;
}